package com.batchengine.task;

import java.util.Date;

/**

 * User: sunil.incubator@yahoo.com
 * Date: Aug 31, 2009
 * Time: 10:58:28 AM
 */
public class ScheduledJob extends RecurringJob {

    private String expression;
    private Date scheduledTime;

    public ScheduledJob(Long jobId) {
        super(jobId);
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    public Date getScheduledTime() {
        return scheduledTime;
    }

    public void setScheduledTime(Date scheduledTime) {
        this.scheduledTime = scheduledTime;
    }

    @Override
    public String toString() {
        return "ScheduledJob{" +
                "expression='" + expression + '\'' +
                ", scheduledTime=" + scheduledTime + "," + super.toString() +
                '}';
    }
}
